﻿@using Vote.Models;
@{
    var Model = ViewBag.Model;
}
<div class="player-box">
    <ul class="player" id="list">
        @if (Model != null)
        {
            foreach (var VotesShows in Model)
            {
                <li>
                    <div class=" player-list fl">
                        <div class="p-img-box">
                            <a href="@Url.Action("FestivalDetail", "Home", new { VoteShowId = VotesShows.Id })">
                                <img class="lazy list-p-icon" src=" @VotesShows.ImgUrl ">
                            </a>
                            <div class="r-p-text">
                                <img class="p-num" src="@Url.Content("~/images/p-number.png")">
                                <span class="p-num-text" id="@VotesShows.Id-head">@VotesShows.VoteNum</span>
                            </div>
                        </div>
                        <div class="p-text-box">
                            <div class="p-text p-text-text fl">
                                <h4>@VotesShows.Name</h4>
                                <span class="piaoshu">票数：</span><span id="@VotesShows.Id-bottom">@VotesShows.VoteNum</span>
                            </div>
                            <div class="p-text fr">
                                <a href="#" id=@VotesShows.Id>投票</a>
                            </div>
                        </div>
                    </div>
                </li>
            }
        }
    </ul>
</div>

